package com.hq.mapper;

import com.hq.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.Set;

@Mapper
public interface UserMapper {
    /*根据用户名查询用户信息*/
    User queryUserByUsername(String username);

    /*根据用户名查询用户权限*/
    Set<String> queryPermsByUsername(String username);

    /*根据用户名查询用户角色*/
    Set<String> queryRolesByUsername(String username);
}
